package javabasics.netty.login.util;

import java.util.UUID;

/**
 * @Author suxiaoxiao
 * @Date 2019/9/19 23:31
 * @Version 1.0
 */
public class IDUtil {

    public static String randomId() {
        return UUID.randomUUID().toString().split("-")[0];
    }

}
